#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <stdlib.h>
#include <iomanip>
int main()
{
    double dia,t;
    int rev;
    double pi = 3.1415927;
    int feet_per_mile = 5280,inche_per_foot=12;
    int count = 0;
    while (1) {
        std::cin>>dia>>rev>>t;
        if(rev==0)
            break;
        double c = dia*pi;
        double dis = c*rev/feet_per_mile/inche_per_foot;
        double v = dis*3600/t;
        std::cout<<"Trip #"<<++count<<": "<<std::setiosflags(std::ios::fixed)<<std::setprecision(2)<<dis<<" "<<v<<std::endl;
        
    }
    return 0;
}
